# a = [1,2,3,4,5,6,7,8,9,10]

# print(a[8:2:-1])


# b = "abcdefg"

# print(b[2:4])


# b = (1,2,3,4,5)

# print(b[2:4])

# a = [1,2,3,4,5,6,7,8,9,10]

# print(a[8:])

# a = [1,2,3,4,5,6,7,8,9,10]

# print(a[:])


# a = [1,2,3,4,5,6,7,8,9,10]

# print(a[::2])

# a = [1,2,3,4,5,6,7,8,9,10]

# print(a[-2:])

# for i in a[-4:]:
#     print(i)

a = [1,2,3,4,5,6,7,8,9,10]
# [10,9,8,7,6...1] [4:]
print(a[::-1][4:])